import request from "@/utils/request";
export function selectStatementList(data) {
  return request({
    url: "/api/statement/selectStatementList",
    method: "post",
    data
  });
}
export function findStatementInfo(data) {
  return request({
    url: "/api/statement/findStatementInfo",
    method: "post",
    data
  });
}

export function platConfirm(data) {
  return request({
    url: "/api/statement/platConfirm",
    method: "post",
    data
  });
}
export function supplierConfirm(data) {
  return request({
    url: "/api/statement/supplierConfirm",
    method: "post",
    data
  });
}
export function confirmStatement(data) {
  return request({
    url: "/api/statement/confirmStatement",
    method: "post",
    data
  });
}
export function caiwuStatementList(data) {
  return request({
    url: "/api/Statement/caiwuStatementList",
    method: "post",
    data
  });
}
export function findCaiwuStatementInfo(data) {
  return request({
    url: "/api/Statement/findCaiwuStatementInfo",
    method: "post",
    data
  });
}
export function caiwuStatementNewList(data) {
  return request({
    url: "/api/Statement/caiwuStatementNewList",
    method: "post",
    data
  });
}
export function saveCaiWuStatus(data) {
  return request({
    url: "/api/statement/saveCaiWuStatus",
    method: "post",
    data
  });
}
export function selectBankAccountList(data) {
  return request({
    url: "/api/statement/selectBankAccountList",
    method: "post",
    data
  });
}
export function createPayBill(data) {
  return request({
    url: "/api/statement/createPayBill",
    method: "post",
    data
  });
}
export function cancelPayBill(data) {
  return request({
    url: "/api/statement/cancelPayBill",
    method: "post",
    data
  });
}
export function supplierBackCongirm(data) {
  return request({
    url: "/api/statement/supplierBackCongirm",
    method: "post",
    data
  });
}
export function findOptInfo(data) {
  return request({
    url: "/api/statement/findOptInfo",
    method: "post",
    data
  });
}
export function saveStatementStatus(data) {
  return request({
    url: "/api/Statement/saveStatementStatus",
    method: "post",
    data
  });
}
export function findPtOptInfo(data) {
  return request({
    url: "/api/Statement/findPtOptInfo",
    method: "post",
    data
  });
}
export function addStatement(data) {
  return request({
    url: "/api/statement/addStatement",
    method: "post",
    data
  });
}
//中仓负结算单查询
export function selectMinusStatementList(data) {
  return request({
    url: "/api/statement/selectMinusStatementList",
    method: "post",
    data
  });
}

//结算单处理结算列表
export function selectStatementOptList(data) {
  return request({
    url: "/api/statement/selectStatementOptList",
    method: "post",
    data
  });
}

//批量操作结算单结算与不结算
export function batchStatementStatus(data) {
  return request({
    url: "/api/statement/batchStatementStatus",
    method: "post",
    data
  });
}

//批量操作线上结算发送验证码
export function sendPayCode(data) {
  return request({
    url: "/api/Sms/sendPayCodenew",
    method: "post",
    data
  });
}
//批量操作从线上结算
export function onlineConfirmStatement(data) {
  return request({
    url: "/api/statement/onlineConfirmStatement",
    method: "post",
    data
  });
}

//线上结算详情
export function getStatementPayDetail(data) {
  return request({
    url: "/api/statement/getStatementPayDetail",
    method: "post",
    data
  });
}
//线上结算回退
export function getresetPay(data) {
  return request({
    url: "/api/statement/changeOffLinePay",
    method: "post",
    data
  });
}
//线上结算重新支付
export function getresetOnlinePay(data) {
  return request({
    url: "/api/statement/resetOnlinePay",
    method: "post",
    data
  });
}
//线上结算重新支付
export function caiwuStatementbank(data) {
  return request({
    url: "/api/Statement/caiwuStatementbank",
    method: "post",
    data
  });
}
//创建付款单是否超过50万
export function PayBillAmount(data) {
  return request({
    url: "/api/statement/PayBillAmount",
    method: "post",
    data
  });
}
//创建付款单
export function createPayBillnew(data) {
  return request({
    url: "/api/statement/createPayBillnew",
    method: "post",
    data
  });
}
//查询支付
export function checkOnlinePay(data) {
  return request({
    url: "/api/statement/checkOnlinePay",
    method: "post",
    data
  });
}
export function resetOnlinePayS(data) {
  return request({
    url: "/api/statement/resetOnlinePayS",
    method: "post",
    data
  });
}
export function applyResetOnlinePayBySuccess(data) {
  return request({
    url: "/api/statement/applyResetOnlinePayBySuccess",
    method: "post",
    data
  });
}
export function applyResetOnlinePayBySuccessList(data) {
  return request({
    url: "/api/statement/applyResetOnlinePayBySuccessList",
    method: "post",
    data
  });
}
export function checkApplyResetOnlinePayBySuccess(data) {
  return request({
    url: "/api/statement/checkApplyResetOnlinePayBySuccess",
    method: "post",
    data
  });
}
